package mail.util;

/**
 * @Author: Hanjiafeng
 * @Date: Created in 19:27 2019/1/24
 * @Desc: 状态码
 */
public class StatusCode {
    /**
     * QQ登录成功
     */
    public static final String QQ_LOGIN_STATUS_OK = "0";
    /**
     * QQ二维码失效
     */
    public static final String QQ_LOGIN_QR_INVALID = "65";
    /**
     * QQ二维码有效
     */
    public static final String QQ_LOGIN_QR_VALID = "66";
    /**
     * QQ二维码认证中
     */
    public static final String QQ_LOGIN_QR_VERIFYING = "67";
    /**
     * QQ需要滑块验证码
     */
    public static final String QQ_NEED_SLIDER_FLAG = "1";
    /**
     * QQ邮箱未开通
     */
    public static final String MAIL_NOT_AVAILABLE = "autoactivation";
    /**
     * 需要独立密码
     */
    public static final String MAIL_NEED_INDEPENDENT_PASSWORD = "loginpage";
    /**
     * 正常登录QQ邮箱
     */
    public static final String MAIL_NORMAL = "frame_html";

    //邮箱解析状态值
    /**
     * 邮件不在半年之内,过期
     */
    public static final String MAIL_PARSE_EXPIRE = "401";
    /**
     * 不是信用卡账单
     */
    public static final String MAIL_PARSE_NOT_CREDIT = "402";
    /**
     * 未获取到邮件id
     */
    public static final String MAIL_PARSE_NO_ID = "403";
    /**
     * 未获取到邮件详情
     */
    public static final String MAIL_PARSE_NO_CONTENT = "404";
    /**
     * 未获取到邮件主题
     */
    public static final String MAIL_PARSE_NO_SUBJECT = "405";
    /**
     * 邮件信用卡账单关键字
     */
    public static final String MAIL_CREDIT_KEY_WORD = "账单";

    //21CN
    /**
     * 不需要验证码
     */
    public static final String MAIL21_NEED_NOT_CAPTCHA = "0";
    public static final String MAIL21_LOGIN_SUCCESS = "0";
}
